package com.novax.ex.activity.open.model.request.task;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description 奖励配置 request
 * @Author ChenXi
 * @Date 2023/06/20/16:21
 */

@Data
@Schema(description = "奖励配置 request")
public class TaskRewardRequest {

    @Schema(description = "奖励类型 1=冻结ET 2=可用币种 3=盲盒奖励 4=SCS奖励 5=合约手续费抵扣券 6=VIP升级券")
    @NotNull
    private Integer type;

    @Schema(description = "奖励数量")
    @NotNull
    private BigDecimal amount;

    @Schema(description = "有效天数")
    private Integer days;

    @Schema(description = "奖励类型type =2 ,为可用币种时, 需要指定奖励币种")
    private String currency;
}
